﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true"
    CodeBehind="FacilitiesList.aspx.cs" Inherits="MockPrjTeam1.Pages.Views.FacilitiesList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="templatemo_main">
        <div>
            <asp:Label ID="Label1" Text="Premise Detail" Font-Size="Large" ForeColor="Green"
                runat="server"></asp:Label>
            <br />
            <asp:LinkButton ID="LinkbtnDetail1" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../../Pages/Forms/PremiseDetail.aspx"> Detail 1 </asp:LinkButton>
            <asp:LinkButton ID="LinkbtnDetail2" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../../Pages/Forms/PremiseDetail2.aspx"> Detail 2 </asp:LinkButton>
            <asp:LinkButton ID="LinkbtnDetail3" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../../Pages/Forms/PremiseDetail3.aspx"> Detail 3 </asp:LinkButton>
            <asp:LinkButton ID="LinkbtnDetail4" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../../Pages/Forms/PremiseDetail4.aspx"> Detail 4 </asp:LinkButton>
            <td>
                Facilities
            </td>
            <asp:LinkButton ID="LinkbtnVolunteering" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../Views/VolunteeringList.aspx"> Volunteering </asp:LinkButton>
        </div>
        <table width="100%">
            <tr>
                <td width="60%">
                    <asp:LinkButton ID="link1" ForeColor="Blue" runat="server" Text="All  " CssClass="style1"
                        OnClick="GetAll"></asp:LinkButton>
                    <asp:LinkButton ID="link2" ForeColor="Blue" runat="server" Text="||  0-9  " CssClass="style1"
                        OnClick="Filter09"></asp:LinkButton>
                    <asp:LinkButton ID="link3" ForeColor="Blue" runat="server" Text="||  A B C D E  "
                        CssClass="style1" OnClick="FilterAE"></asp:LinkButton>
                    <asp:LinkButton ID="link4" ForeColor="Blue" runat="server" Text="||  F G H I J  "
                        CssClass="style1" OnClick="FilterFJ"></asp:LinkButton>
                    <asp:LinkButton ID="link5" ForeColor="Blue" runat="server" Text="||  K L M N  " CssClass="style1"
                        OnClick="FilterKN"></asp:LinkButton>
                    <asp:LinkButton ID="link6" ForeColor="Blue" runat="server" Text="||  O P Q R  " CssClass="style1"
                        OnClick="FilterOR"></asp:LinkButton>
                    <asp:LinkButton ID="link7" ForeColor="Blue" runat="server" Text="||  S T U V  " CssClass="style1"
                        OnClick="FilterSV"></asp:LinkButton>
                    <asp:LinkButton ID="link8" ForeColor="Blue" runat="server" Text="||  W X Y Z  " CssClass="style1"
                        OnClick="FilterWZ"></asp:LinkButton>
                </td>
                <td align="right">
                    <asp:Button ID="btnCreate" runat="server" Text="Create" PostBackUrl="../Forms/FacilityDetail.aspx" />&nbsp;
                    <asp:CheckBox ID="cbInActive" runat="server" Text="Include In-active" AutoPostBack="true"
                        OnCheckedChanged="GetAll" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:GridView ID="grvFacilities" runat="server" Width="100%" AutoGenerateColumns="False"
                        ShowHeaderWhenEmpty="True" EnableModelValidation="True" RowStyle-HorizontalAlign="Center"
                        AllowPaging="True" PageSize="5" OnPageIndexChanging="grvFacilities_PageIndexChanging">
                        <Columns>
                            <asp:HyperLinkField HeaderText="Facility Type" DataTextField="FacilityType" ControlStyle-ForeColor="Blue"
                                DataNavigateUrlFields="FacilityID" DataNavigateUrlFormatString="../Forms/FacilityDetail.aspx?id={0}">
                            </asp:HyperLinkField>
                            <asp:BoundField HeaderText="Description" DataField="Description" />
                            <asp:BoundField HeaderText="Lead Contact" DataField="LeadContactName" />
                            <asp:BoundField HeaderText="Room Host" DataField="RoomHostName" />
                            <asp:BoundField HeaderText="Is Active ? " DataField="Active" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
